package com.xintouyun.medicine.entity;

import java.math.BigDecimal;
import java.util.Date;

import com.xintoucloud.jdbcutil.GenarateType;
import com.xintoucloud.jdbcutil.Id;
import com.xintoucloud.jdbcutil.Table;
import com.xintoucloud.jdbcutil.Transient;

@Table(value = "m_order")
public class Order {
	@Id(genarate=GenarateType.ASSIGNED)
	private String oid;
	private BigDecimal totalprice;
	private Date ordertime;
	private int uid;
	private int state;
	private Date deliverytime;
	private Date signingtime;
	private Date refundabletime;
	private int coid;
	private int sid;
	@Transient
	private String sname;
	@Transient
	private String name;
	@Transient
	private String nickname;
	@Transient
	private String spic;
	
	public String getSpic() {
		return spic;
	}
	public void setSpic(String spic) {
		this.spic = spic;
	}
	public String getSname() {
		return sname;
	}
	public void setSname(String sname) {
		this.sname = sname;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	public int getSid() {
		return sid;
	}
	public void setSid(int sid) {
		this.sid = sid;
	}
	public int getCoid() {
		return coid;
	}
	public void setCoid(int coid) {
		this.coid = coid;
	}
	public Date getDeliverytime() {
		return deliverytime;
	}
	public void setDeliverytime(Date deliverytime) {
		this.deliverytime = deliverytime;
	}
	public Date getSigningtime() {
		return signingtime;
	}
	public void setSigningtime(Date signingtime) {
		this.signingtime = signingtime;
	}
	public Date getRefundabletime() {
		return refundabletime;
	}
	public void setRefundabletime(Date refundabletime) {
		this.refundabletime = refundabletime;
	}
	public String getOid() {
		return oid;
	}
	public void setOid(String oid) {
		this.oid = oid;
	}
	public BigDecimal getTotalprice() {
		return totalprice;
	}
	public void setTotalprice(BigDecimal totalprice) {
		this.totalprice = totalprice;
	}
	public Date getOrdertime() {
		return ordertime;
	}
	public void setOrdertime(Date ordertime) {
		this.ordertime = ordertime;
	}
	public int getUid() {
		return uid;
	}
	public void setUid(int uid) {
		this.uid = uid;
	}
	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}
	
}
